.chat-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  > .chat-record {
    flex: 1;
    padding: 0 20rpx;
    overflow: hidden;
    position: relative;
    > .msg-list {
      min-height: 100%;
      position: absolute;
      bottom: 0;
      > .msg-item {
        & + .msg-item {
          margin-top: 20rpx;
        }
        > .msg-sender {
          color: #999;
          font-size: 20rpx;
        }
        > .msg-content {
          color: #333;
          font-size: 32rpx;
          &.right-answer {
            color: #2f2;
          }
        }
      }
    }
  }
  > .chat-input {
    height: 80rpx;
    display: flex;
    align-items: center;
    border: 1px solid cornflowerblue;
    border-radius: 40rpx;
    overflow: hidden;
    margin-top: 20rpx;
    > .input {
      flex: 1;
      padding: 0 20rpx;
    }
    > .send-btn {
      width: 150rpx;
      height: 100%;
      text-align: center;
      line-height: 80rpx;
      color: #fff;
      background-color: cornflowerblue;
    }
  }
}